<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <script th:fragment="js" type="text/javascript" th:inline="text">
        jQuery(function () {

            $('#myModal').modal('hide');

            $('#myModal').on('hide.bs.modal', function () {
                //alert('嘿，我听说您喜欢模态框...');
            })
        });
        var confirmDelUser = function (roleId) {
            $("#myModal-del").modal("show");
            $("#doDel").one("click", function () {
                window.location = "./del?roleId="+roleId;
            });
        };
        var showUser111 = function (roleId) {
            $("#myModal-update").modal("show");
        };
        function delUpdate(num){
            $("#trUpdate"+num).remove();
        }
    </script>
</head>
</html>